package com.example.sqlitedemo;

public class Food {
    int id;
    String foodname;
      foodprice;
    int count;

    public Food(int id, String foodname, double foodprice, int count) {
        this.id = id;
        this.foodname = foodname;
        this.foodprice = foodprice;
        this.count = count;
    }

    public Food() {
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", foodname='" + foodname + '\'' +
                ", foodprice=" + foodprice +
                ", count=" + count +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFoodname() {
        return foodname;
    }

    public void setFoodname(String foodname) {
        this.foodname = foodname;
    }

    public double getFoodprice() {
        return foodprice;
    }

    public void setFoodprice(double foodprice) {
        this.foodprice = foodprice;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
